<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

function is_ajax()
{
	return isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest';
}

/* End of file ajax_helper.php */
/* Location: ajax_helper.php */